{% load filter %}
{% extends '2base.html' %}
{% block title %}
<title>Wow Dkp Engine iMail</title>
{% endblock %}
{% block headline %}
{% endblock %}
{% block secondmenu %}
{% include 'second_menu.html'%}
{% endblock %}
{% block content %}
<table class="topiclist" cellspacing="0" style="border-collapse:collapse">
<thead>
	<tr>
		<th>标题</th>
		<th>来自</th>
		<th>写给</th>
		<th>时间</th>
	</tr>
	</thead>
	<tbody>
	{% for imail in mails %}
	<tr>
		<td><a href="/imail/view/{{ imail.key.id }}" >{{ imail.title }}</a></td>
		<td>{{ imail.from_user.username }}</td>
		<td>{{ imail.to_user.username }}</td>
		<td>{{ imail.content }}</td>
	</tr>
	{% endfor %}
	</tbody>
</table>
{% include 'paginate2.html' %}
{% endblock%}
{% block siderbar %}
{% include 'forumSiderbar.html' %}
{% endblock%}